package com.demo.server.constant;

public final class CommonConstant {
	public static final Integer ZERO = 0;
	public static final long LOGIN_EXPIRE = 30*60L; // 登陆有效时间
	
	public static final long VERIFYCODE_EXPIRE = 60L; // 验证码有效时间
	
	public static final String ROLE_MANAGER = "manager"; // 管理员角色
	
	public static final String PERMISSION_TYPE_MAINMENU = "01"; //主菜单
	public static final String PERMISSION_TYPE_SUBMENU = "02"; //子菜单
	public static final String PERMISSION_TYPE_BUTTON = "03"; //按钮
	
	public static final Integer MQTT_QOS0 = 0;
	public static final Integer MQTT_QOS1 = 1;
	public static final Integer MQTT_QOS2 = 2;
	public static final String MQTT_PUBLISH_PREFIX = "hospital/";

	
	public static final String TOKEN_NAME = "token";
	
	public static final String LACK_PARAM = "缺少必要参数";
	
	public static final String INI_PWD = "123456";
	
public static final String CAPTCHA_REDIS_HASH = "captcha";
	
	public static final String REQUEST_LOG_ATTR= "logAttr";
	
	public static final String REQUEST_TIME_ATTR = "timeAttr";

}
